<?
require "cAutorizacionEmpresa.php";
include "cModificarSolicitudPasantesEmpresaPre.php";

$TITLE = 'Modificar Solicitud de Pasantes';
include_once("vHeaderEmpresa.php");

    ?>
    <script type="text/javascript" language="javascript" src="cCampoNumerico.js"></script>
    <script type="text/javascript" language="javascript" src="cVerifAgregarMP.js"></script>

    <form name="datos" action="cModificarSolicitudPasantesEmpresaPost.php" method="post" enctype="multipart/form-data">
        <table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td valign="top">
                    <table width="100%" border="0" cellpadding="0" cellspacing="5">
                        <tr>
                            <td colspan="4"><p align="center" class="titular_negro"><strong>MODIFICAR SOLICITUD DE PASANTES</strong><br />
                                    <span class="buscador">(<span class="rojo">*</span>) campos obligatorios</span> <br /><br />
                                    <span class="buscador"><strong>Fecha: <? echo date('d-m-Y'); ?></strong></span></p>
                            </td>
                        </tr>

                        <tr>
                            <td colspan="4">
                             <br> <div align='center' style='color:#FF0000'><Strong>Seleccione la Carrera e Indique el Número de Pasantes a solicitar</Strong><br></div>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4"><p align="center" class="titular_negro"><strong>Carreras Largas</strong><br />
                                
                            </td>
                        </tr>                    
                        <tr>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td><p class="parrafo">Carrera</p></td>
                            <td><p class="parrafo">Cantidad</p></td>
                            <td><p class="parrafo">Solicitar</p></td>
                        </tr>   
                        <tr>
                            <td colspan="4"><p class="parrafo"><strong>Ingeniería</strong></p></td>
                        </tr>
                        <tr>
                            <td><p class="parrafo">Ingeniería Eléctrica</p></td>
                            <td><input name="num_ing_electrica" type="text" size="3" maxlength="3" class="parrafo" id="num_ing_electrica" onkeypress="return esNumero(event);" value="<?= $_SESSION[i_electrica][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_ing_electrica"  id="pas_ing_electrica" value="cb1" /></td>                       
                        </tr>
                        <tr>
                            <td><p class="parrafo">Ingeniería Mecánica</p></td>
                            <td><input name="num_ing_mecanica" type="text" size="3" maxlength="3" class="parrafo" id="num_ing_mecanica" onkeypress="return esNumero(event);" value="<?= $_SESSION[i_mecanica][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_ing_mecanica" id="pas_ing_mecanica" value="cb2"/></td>                       
                        </tr>
                        <tr>
                            <td><p class="parrafo">Ingeniería Química</p></td>
                            <td><input name="num_ing_quimica" type="text" size="3" maxlength="3" class="parrafo" id="num_ing_quimica" onkeypress="return esNumero(event);" value="<?= $_SESSION[i_quimica][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_ing_quimica" id="pas_ing_quimica" value="cb3"/></td>                      
                        </tr>                            
                         <tr>
                            <td><p class="parrafo">Ingeniería Electrónica</p></td>
                            <td><input name="num_ing_electronica" type="text" size="3" maxlength="3" class="parrafo" id="num_ing_electronica" onkeypress="return esNumero(event);" value="<?= $_SESSION[i_electronica][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_ing_electronica" id="pas_ing_electronica" value="cb4"/></td>                    
                         </tr>                            
                        <tr>
                            <td><p class="parrafo">Ingeniería Materiales</p></td>
                            <td><input name="num_ing_materiales" type="text" size="3" maxlength="3" class="parrafo" id="num_ing_materiales" onkeypress="return esNumero(event);" value="<?= $_SESSION[i_materiales][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_ing_materiales" id="pas_ing_materiales" value="cb5"/></td> 
                        </tr> 
                        <tr>
                            <td><p class="parrafo">Ingeniería Computación</p></td>
                            <td><input name="num_ing_computacion" type="text" size="3" maxlength="3" class="parrafo" id="num_ing_computacion" onkeypress="return esNumero(event);" value="<?= $_SESSION[i_computacion][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_ing_computacion" id="pas_ing_computacion" value="cb6"/></td>
                        </tr> 
                        <tr>
                            <td><p class="parrafo">Ingeniería Geofísica</p></td>
                            <td><input name="num_ing_geofisica" type="text" size="3" maxlength="3" class="parrafo" id="num_ing_geofisica" onkeypress="return esNumero(event);" value="<?= $_SESSION[i_geofisica][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_ing_geofisica" id="pas_ing_geofisica" value="cb7"/></td>
                        </tr>
                        <tr>
                            <td><p class="parrafo">Ingeniería Producción</p></td>
                            <td><input name="num_ing_produccion" type="text" size="3" maxlength="3" class="parrafo" id="num_ing_produccion" onkeypress="return esNumero(event);" value="<?= $_SESSION[i_produccion][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_ing_produccion" id="pas_ing_produccion" value="cb8"/></td>
                        </tr>  
                        
                        <tr>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                    </tr>                    
                    <tr>
                        <td colspan="4"><p class="parrafo"><strong>Ciencias Básicas</strong></p></td>
                    </tr>
                        <tr>
                            <td><p class="parrafo">Licenciatura en Química</p></td>
                            <td><input name="num_lic_quimica" type="text" size="3" maxlength="3" class="parrafo" id="num_lic_quimica" onkeypress="return esNumero(event);" value="<?= $_SESSION[l_quimica][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_lic_quimica" id="pas_lic_quimica" value="cb11"/></td>
                        </tr>
                        <tr>
                            <td><p class="parrafo">Licenciatura en Matemáticas</p></td>
                            <td><input name="num_lic_mate" type="text" size="3" maxlength="3" class="parrafo" id="num_lic_mate" onkeypress="return esNumero(event);" value="<?= $_SESSION[l_matematica][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_lic_mate" id="pas_lic_mate" value="cb12"/></td>
                        </tr>  
                        <tr>
                            <td><p class="parrafo">Licenciatura en Física</p></td>
                            <td><input name="num_lic_fisica" type="text" size="3" maxlength="3" class="parrafo" id="num_lic_fisica" onkeypress="return esNumero(event);" value="<?= $_SESSION[l_fisica][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_lic_fisica"  id="pas_lic_fisica" value="cb13"/></td>
                        </tr>  
                        <tr>
                            <td><p class="parrafo">Licenciatura en Biología</p></td>
                            <td><input name="num_lic_bio" type="text" size="3" maxlength="3" class="parrafo" id="num_lic_bio" onkeypress="return esNumero(event);" value="<?= $_SESSION[l_biologia][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_lic_bio"  id="pas_lic_bio" value="cb14"/></td>
                        </tr>                   
                        
                        
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr> 
                    <tr>
                        <td colspan="4"><p class="parrafo"><strong>Arquitectura y Urbanismo</strong></p></td>
                    </tr>
                        <tr>
                            <td><p class="parrafo">Arquitectura</p></td>
                            <td><input name="num_arquitectura" type="text" size="3" maxlength="3" class="parrafo" id="num_arquitectura" onkeypress="return esNumero(event);" value="<?= $_SESSION[arquitectura][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_arquitectura" id="pas_arquitectura" value="cb15"/></td>
                        </tr>  
                        <tr>
                            <td><p class="parrafo">Urbanismo</p></td>
                            <td><input name="num_urbanismo" type="text" size="3" maxlength="3" class="parrafo" id="num_urbanismo" onkeypress="return esNumero(event);" value="<?= $_SESSION[urbanismo][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_urbanismo" id="pas_urbanismo" value="cb16"/></td>
                        </tr>                    
                        
                        
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>                     

                    <tr>
                        <td colspan="4"><p class="parrafo"><strong>Ciencias Administrativas</strong></p></td>
                    </tr>
                        <tr>
                            <td><p class="parrafo">Licenciatura en Gestión de la Hospitalidad</p></td>
                            <td><input name="num_hospi" type="text" size="3" maxlength="3" class="parrafo" id="num_hospi" onkeypress="return esNumero(event);" value="<?= $_SESSION[hospitalidad][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_hospi" id="pas_hospi" value="cb18"/></td>
                        </tr>                  
                        
                        
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr> 
                    <tr>
                        <td colspan="4"><p align="center" class="titular_negro"><strong>Carreras Cortas</strong><br />
                            
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>                    
                    <tr>
                        <td colspan="4"><p class="parrafo"><strong>Área Industrial</strong></p></td>
                    </tr>
                        <tr>
                            <td><p class="parrafo">Tecnología Eléctrica</p></td>
                            <td><input name="num_tec_electrica" type="text" size="3" maxlength="3" class="parrafo" id="num_tec_electrica" onkeypress="return esNumero(event);" value="<?= $_SESSION[t_electrica][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_tec_electrica"  id="pas_tec_electrica" value="cb19" /></td>
                        </tr>
                        <tr>
                            <td><p class="parrafo">Tecnología Electrónica</p></td>
                            <td><input name="num_tec_electronica" type="text" size="3" maxlength="3" class="parrafo" id="num_tec_electronica" onkeypress="return esNumero(event);" value="<?= $_SESSION[t_electronica][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_tec_electronica" id="pas_tec_electronica" value="cb20" /></td>
                        </tr>  
                        
                    <tr>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    </tr>                    
                    <tr>
                        <td colspan="4"><p class="parrafo"><strong>Área Administrativa</strong></p></td>
                    </tr>
                        <tr>
                            <td><p class="parrafo">Organización Empresarial</p></td>
                            <td><input name="num_orga" type="text" size="3" maxlength="3" class="parrafo" id="num_orga" onkeypress="return esNumero(event);" value="<?= $_SESSION[organizacion][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_orga" id="pas_orga" value="cb26"/></td>
                        </tr>
                        <tr>
                            <td><p class="parrafo">Comercio Exterior</p></td>
                            <td><input name="num_exterior" type="text" size="3" maxlength="3" class="parrafo" id="num_exterior" onkeypress="return esNumero(event);" value="<?= $_SESSION[comercio][cantidad] ?>"/>
                            <td><input type="checkbox" name="pas_exterior" id="pas_exterior" value="cb27"/></td>                         
                        </tr>  
                       
                        <tr>
                            <td colspan="4" valign="top" class="parrafo">
                                <div align="center">
                                    <a href='javascript: verificar()'><?= mostrarImagen('enviar'); ?></a>
                                  <!--  <a href='cCrearPlanillaPermisoPasantia.php'><? //= mostrarImagen('pdf');           ?></a>-->
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </form>


<?php 
include_once('vFooter.php'); ?>